<!--
*  功能描述：绩效管理：奖金调整
 -->
   <template>
  <div>
    <el-descriptions title="部门奖金调整" :column="2" border>
    </el-descriptions>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="AssId" label="任务名称">
      </el-table-column>
      <el-table-column>
        <template slot-scope="scope">
          <el-button @click="chakan(scope.row.AssId)" type="primary">查看</el-button>
        </template>
      </el-table-column>

    </el-table>
  </div>
</template>

  <script>
export default {
  data () {
    return {
      tableData: []
    }
  },
  methods: {
    show () {
      this.$http({
        url: 'AssBonu/GetAssessmentList',
        mounted: 'get'
      })
        .then(res => {
          this.tableData = res.data
        })
    },
    chakan (id) {
      this.$router.push({
        path: '/AssBouSee',
        name: 'AssBouSee',
        params: {
          id: id
        }
      })
    }
  },
  mounted () {
    this.show();
  }
}
  </script>